package com.videoadmin.dao;

import java.util.List;

import com.videoadmin.pojo.Movies;

public interface IMoviesDAO {

	public abstract void saveOrUpdate(Movies movie);

	public abstract void delete(Movies movie);

	public abstract Movies findById(int id);

	public abstract List<Movies> findByName(String keyword);

	public abstract List<Movies> findByDirector(String keyword);

	public abstract List<Movies> findByActor(String keyword);

	public abstract List<Movies> findByAll(String keyword);

}